package com.hs.feign.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单
 * </p>
 *
 * @author Bai
 * @since 2022-07-20
 */
@Getter
@Setter
@ApiModel(value = "Orders对象", description = "订单")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("编号")
      private Long id;

      @ApiModelProperty("路段编号")
      private Long roadId;

      @ApiModelProperty("车牌号")
      private String carLicensePlate;

      @ApiModelProperty("创建时间")
      private Date submitTime;

      @ApiModelProperty("金额")
      private BigDecimal amount;

      @ApiModelProperty("订单状态")
      private Integer status;

      @ApiModelProperty("停车时间")
      private String parkingTime;

      @ApiModelProperty("用户电话")
      private String userTel;

      @ApiModelProperty("泊位号")
      private Long berthId;

      @ApiModelProperty("驶入时间")
      private Date driveInTime;

      @ApiModelProperty("驶出时间")
      private Date driveOutTime;

}
